<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">
    <my-componet :init-count="1"></my-componet>
</div>
<script src="https://unpkg.com/vue/dist/vue.min.js"></script>

<script>

    Vue.component('my-componet', {
        props:['initCount'],
        template: '<div>{{count}}</div>',
        data:function (){
            return{
                count:this.initCount
            }
        }
    });

    var app = new Vue({
        el: '#app'
    })
</script>
</body>
</html>